package cn.mazexal.examapi.services.provider.push;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * @author: Mazexal
 * Date: 2025/7/7
 */
@Data
public class PushMsg<T extends PushMsgParam> implements Serializable {
    /**
     * 推送参数
     */
    private T param;

    /**
     * 推送目标
     */
    private PushTarget pushTarget;
    /**
     * 推送目标值
     */
    private String targetValue;
    /**
     * 推送设备类型
     */
    private PushDeviceType deviceType;

    /**
     * 推送类型
     */
    private PushType pushType;
    /**
     * 推送标题
     */
    private String title;

    /**
     * 推送别名
     */
    private String alias;

    /**
     * 推送内容
     */
    private String body;

    private Map<String,String> params;

}
